tools: VM generation ID save/restore and migrate.
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 16 Dec 2011 14:54:14 +0000 (14:54 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 16 Dec 2011 14:54:14 +0000 (14:54 +0000)
commit8f76fc6c983e3bf7c8c32fae2c7264f718e2b467
treea279f798e76580f86bffe3f632a0eb276859665d
parentbe9b274df12d03fe2366fdbb58a37f537c3d2ff1
tools: VM generation ID save/restore and migrate.

Add code to track the address of the VM generation ID buffer across a
save/restore or migrate, and increment it as necessary.
The address of the buffer is written into xenstore by hvmloader at
boot time. It must be read from xenstore by the caller of
xc_domain_save() and then written back again by the caller of
xc_domain_restore().

Note that the changes to xc_save.c and xc_restore.c are merely
sufficient for them to build.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
14 files changed:
tools/libxc/ia64/xc_ia64_linux_restore.c
tools/libxc/ia64/xc_ia64_linux_save.c
tools/libxc/xc_domain_restore.c
tools/libxc/xc_domain_save.c
tools/libxc/xenguest.h
tools/libxc/xg_save_restore.h
tools/libxl/libxl_create.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl
tools/libxl/xl_cmdimpl.c
tools/python/xen/lowlevel/checkpoint/libcheckpoint.c
tools/xcutils/xc_restore.c
tools/xcutils/xc_save.c